<!--:
var exce = "";
var isAjax = usertag.isAjaxRequest(request);
if (isAjax){
    // function do it.
    exceTrace(true);
} else {
    exce = commontag.toHtml(exceTrace(false));
-->
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>500 - 系统内部错误</title>
</head>
<body>

<div class="container-fluid">
    <div class="page-header"><h1>系统内部错误.</h1></div>
    <div class="errorMessage">
        错误信息：
        <!--:
            var errmsg = "";
            if (exce == null || exce == "") {
                errmsg = "未知错误.";
            } else {
                errmsg = exce;
            }
        -->
        错误信息：${errmsg}
        <br/> <br/>
        请点击"查看详细信息"按钮，将详细错误信息发送给系统管理员，谢谢！<br/> <br/>
        <a href="javascript:" onclick="history.go(-1);" class="btn">返回上一页</a> &nbsp;
        <a href="javascript:" onclick="$('.errorMessage').toggle();" class="btn">查看详细信息</a>
    </div>
    <div class="errorMessage hide">
        ${exce} <br/>
        <a href="javascript:" onclick="history.go(-1);" class="btn">返回上一页</a> &nbsp;
        <a href="javascript:" onclick="$('.errorMessage').toggle();" class="btn">隐藏详细信息</a>
        <br/> <br/>
    </div>
    <script type="text/javascript">
        try {
            layer.closeAll('loading'); //关闭加载层
            layer.closeAll('tips'); //关闭所有的tips层
        } catch (e) {
        }
    </script>
</div>

</body>
</html>
<!--:
}
-->